package cn.com.zal.cgweb.pojo;

/**
 * TcAddress entity. @author MyEclipse Persistence Tools
 */

public class TcAddress implements java.io.Serializable {

	// Fields

	private Long addressId;
	private Long userId;
	private String province;
	private String address;
	private String phone;
	private String mobilePhone;
	private String fax;
	private String email;
	private String userName;
	private String companyName;
	private String postNumber;
	private Boolean isDefalut;

	// Constructors

	/** default constructor */
	public TcAddress() {
	}

	/** minimal constructor */
	public TcAddress(Long addressId, String address, String userName) {
		this.addressId = addressId;
		this.address = address;
		this.userName = userName;
	}

	/** full constructor */
	public TcAddress(Long addressId, Long userId, String province,
			String address, String phone, String mobilePhone, String fax,
			String email, String userName, String companyName,
			String postNumber, Boolean isDefalut) {
		this.addressId = addressId;
		this.userId = userId;
		this.province = province;
		this.address = address;
		this.phone = phone;
		this.mobilePhone = mobilePhone;
		this.fax = fax;
		this.email = email;
		this.userName = userName;
		this.companyName = companyName;
		this.postNumber = postNumber;
		this.isDefalut = isDefalut;
	}

	// Property accessors

	public Long getAddressId() {
		return this.addressId;
	}

	public void setAddressId(Long addressId) {
		this.addressId = addressId;
	}

	public Long getUserId() {
		return this.userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getProvince() {
		return this.province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getMobilePhone() {
		return this.mobilePhone;
	}

	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}

	public String getFax() {
		return this.fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getCompanyName() {
		return this.companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getPostNumber() {
		return this.postNumber;
	}

	public void setPostNumber(String postNumber) {
		this.postNumber = postNumber;
	}

	public Boolean getIsDefalut() {
		return this.isDefalut;
	}

	public void setIsDefalut(Boolean isDefalut) {
		this.isDefalut = isDefalut;
	}

}